<@_sysConfig code=code><#assign a=object/></@_sysConfig>
<@_sysConfigData code=code><#assign attribute=object/></@_sysConfigData>
<@_sysAuthorized roleIds=admin.roles urls='sysConfigData/delete,sysConfigData/save'><#assign authorizedMap=map/></@_sysAuthorized>
<form method="post" action="sysConfigData/save.do?callbackType=closeCurrent&navTabId=sysConfigData/list" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
    <input name="id.code" type="hidden" value="${code!}" />
    <input type="hidden" name="_csrf" value="<@_csrfToken admin=true/>"/>
    <div class="formBar">
        <ul>
        <#if authorizedMap['sysConfigData/delete']>
            <li><a class="button" href="sysConfigData/delete.do?code=${code}&navTabId=sysConfigData/edit&_csrf=<@_csrfToken admin=true/>" title="<@t.page 'confirm.clear_config'/>" target="ajaxTodo"><@t.page 'button.clear_config'/></a></li>
        </#if>
        <#if authorizedMap['sysConfigData/save']>
            <li><button type="submit" class="buttonActive"><@t.page 'button.save'/></button></li>
        </#if>
            <li><button type="button" class="button close"><@t.page 'button.close'/></button></li>
        </ul>
    </div>
    <div class="pageFormContent" layoutH="50">
        <dl class="nowrap">
            <dt><@t.page 'description'/>:</dt>
            <dd>
                ${(a.description)!}
            </dd>
        </dl>
<#include "../include_page/extendData.html"/>
<@_sysConfigFieldList code=code>
    <@extendData 'extendDataList' list attribute!{}/>
</@_sysConfigFieldList>
    </div>
</form>